/*
 * LRCPDView.java
 */

package lrcpd;

import org.jdesktop.application.Action;
import org.jdesktop.application.ResourceMap;
import org.jdesktop.application.SingleFrameApplication;
import org.jdesktop.application.FrameView;
import org.jdesktop.application.TaskMonitor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.Timer;
import javax.swing.Icon;
import javax.swing.JDialog;
import javax.swing.JFrame;

/**
 * The application's main frame.
 */
public class LRCPDView extends FrameView {

    public LRCPDView(SingleFrameApplication app) {
        super(app);

        initComponents();

        // status bar initialization - message timeout, idle icon and busy animation, etc
        ResourceMap resourceMap = getResourceMap();
        int messageTimeout = resourceMap.getInteger("StatusBar.messageTimeout");
        messageTimer = new Timer(messageTimeout, new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                statusMessageLabel.setText("");
            }
        });
        messageTimer.setRepeats(false);
        int busyAnimationRate = resourceMap.getInteger("StatusBar.busyAnimationRate");
        for (int i = 0; i < busyIcons.length; i++) {
            busyIcons[i] = resourceMap.getIcon("StatusBar.busyIcons[" + i + "]");
        }
        busyIconTimer = new Timer(busyAnimationRate, new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                busyIconIndex = (busyIconIndex + 1) % busyIcons.length;
                statusAnimationLabel.setIcon(busyIcons[busyIconIndex]);
            }
        });
        idleIcon = resourceMap.getIcon("StatusBar.idleIcon");
        statusAnimationLabel.setIcon(idleIcon);
        progressBar.setVisible(false);

        // connecting action tasks to status bar via TaskMonitor
        TaskMonitor taskMonitor = new TaskMonitor(getApplication().getContext());
        taskMonitor.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                String propertyName = evt.getPropertyName();
                if ("started".equals(propertyName)) {
                    if (!busyIconTimer.isRunning()) {
                        statusAnimationLabel.setIcon(busyIcons[0]);
                        busyIconIndex = 0;
                        busyIconTimer.start();
                    }
                    progressBar.setVisible(true);
                    progressBar.setIndeterminate(true);
                } else if ("done".equals(propertyName)) {
                    busyIconTimer.stop();
                    statusAnimationLabel.setIcon(idleIcon);
                    progressBar.setVisible(false);
                    progressBar.setValue(0);
                } else if ("message".equals(propertyName)) {
                    String text = (String)(evt.getNewValue());
                    statusMessageLabel.setText((text == null) ? "" : text);
                    messageTimer.restart();
                } else if ("progress".equals(propertyName)) {
                    int value = (Integer)(evt.getNewValue());
                    progressBar.setVisible(true);
                    progressBar.setIndeterminate(false);
                    progressBar.setValue(value);
                }
            }
        });
    }

    @Action
    public void showAboutBox() {
        if (aboutBox == null) {
            JFrame mainFrame = LRCPDApp.getApplication().getMainFrame();
            aboutBox = new LRCPDAboutBox(mainFrame);
            aboutBox.setLocationRelativeTo(mainFrame);
        }
        LRCPDApp.getApplication().show(aboutBox);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        mainPanel = new javax.swing.JPanel();
        jLabel_TipoEqp = new javax.swing.JLabel();
        jRadioButton_Switch = new javax.swing.JRadioButton();
        jRadioButton_Hub = new javax.swing.JRadioButton();
        jRadioButton_AccessPoint = new javax.swing.JRadioButton();
        jLabel_NomeUnidade = new javax.swing.JLabel();
        jLabel_Andar = new javax.swing.JLabel();
        jTextField_Localizacao = new javax.swing.JTextField();
        jTextField_Telefone = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jTextField_Tombo = new javax.swing.JTextField();
        jTextField_Marca = new javax.swing.JTextField();
        jTextField_Contato = new javax.swing.JTextField();
        jTextField_NomeUnidade = new javax.swing.JTextField();
        jTextField_Andar = new javax.swing.JTextField();
        jLabel_Localizacao = new javax.swing.JLabel();
        jLabel_Contato = new javax.swing.JLabel();
        jLabel_Marca = new javax.swing.JLabel();
        jLabel_Tombo = new javax.swing.JLabel();
        jLabel_NumSerial = new javax.swing.JLabel();
        jLabel_QtdPortas = new javax.swing.JLabel();
        jTextField_PortaAtiva = new javax.swing.JTextField();
        jTextField_PortaInativa = new javax.swing.JTextField();
        jLabel_PortaAtiva = new javax.swing.JLabel();
        jLabel_PortaInativa = new javax.swing.JLabel();
        jLabel_Telefone = new javax.swing.JLabel();
        jTextField_NumSerial = new javax.swing.JTextField();
        jLabel_Propiedade = new javax.swing.JLabel();
        jRadioButton_Ufba = new javax.swing.JRadioButton();
        jRadioButton_Projeto = new javax.swing.JRadioButton();
        jRadioButton_Particular = new javax.swing.JRadioButton();
        jLabel_EqpAntecessor = new javax.swing.JLabel();
        jTextField_EqpAntecessor = new javax.swing.JTextField();
        jLabel_PortaUpLink = new javax.swing.JLabel();
        jTextField_PortaUpLink = new javax.swing.JTextField();
        jLabel_CondicoesFisicas = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();
        jProgressBar1 = new javax.swing.JProgressBar();
        jButton_Salvar = new javax.swing.JButton();
        menuBar = new javax.swing.JMenuBar();
        javax.swing.JMenu fileMenu = new javax.swing.JMenu();
        javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();
        javax.swing.JMenu helpMenu = new javax.swing.JMenu();
        javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();
        statusPanel = new javax.swing.JPanel();
        javax.swing.JSeparator statusPanelSeparator = new javax.swing.JSeparator();
        statusMessageLabel = new javax.swing.JLabel();
        statusAnimationLabel = new javax.swing.JLabel();
        buttonGroup_tipoEqp = new javax.swing.ButtonGroup();
        buttonGroup_Propriedade = new javax.swing.ButtonGroup();

        mainPanel.setName("mainPanel"); // NOI18N
        mainPanel.setLayout(null);

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(lrcpd.LRCPDApp.class).getContext().getResourceMap(LRCPDView.class);
        jLabel_TipoEqp.setText(resourceMap.getString("jLabel_TipoEqp.text")); // NOI18N
        jLabel_TipoEqp.setName("jLabel_TipoEqp"); // NOI18N
        mainPanel.add(jLabel_TipoEqp);
        jLabel_TipoEqp.setBounds(70, 110, 104, 20);

        buttonGroup_tipoEqp.add(jRadioButton_Switch);
        jRadioButton_Switch.setText(resourceMap.getString("jRadioButton_Switch.text")); // NOI18N
        jRadioButton_Switch.setName("jRadioButton_Switch"); // NOI18N
        mainPanel.add(jRadioButton_Switch);
        jRadioButton_Switch.setBounds(250, 110, 57, 23);

        buttonGroup_tipoEqp.add(jRadioButton_Hub);
        jRadioButton_Hub.setText(resourceMap.getString("jRadioButton_Hub.text")); // NOI18N
        jRadioButton_Hub.setName("jRadioButton_Hub"); // NOI18N
        mainPanel.add(jRadioButton_Hub);
        jRadioButton_Hub.setBounds(200, 110, 45, 23);

        buttonGroup_tipoEqp.add(jRadioButton_AccessPoint);
        jRadioButton_AccessPoint.setText(resourceMap.getString("jRadioButton_AccessPoint.text")); // NOI18N
        jRadioButton_AccessPoint.setName("jRadioButton_AccessPoint"); // NOI18N
        mainPanel.add(jRadioButton_AccessPoint);
        jRadioButton_AccessPoint.setBounds(320, 110, 85, 23);

        jLabel_NomeUnidade.setText(resourceMap.getString("jLabel_NomeUnidade.text")); // NOI18N
        jLabel_NomeUnidade.setName("jLabel_NomeUnidade"); // NOI18N
        mainPanel.add(jLabel_NomeUnidade);
        jLabel_NomeUnidade.setBounds(70, 50, 88, 14);

        jLabel_Andar.setText(resourceMap.getString("jLabel_Andar.text")); // NOI18N
        jLabel_Andar.setName("jLabel_Andar"); // NOI18N
        mainPanel.add(jLabel_Andar);
        jLabel_Andar.setBounds(310, 50, 33, 14);

        jTextField_Localizacao.setName("jTextField_Localizacao"); // NOI18N
        mainPanel.add(jTextField_Localizacao);
        jTextField_Localizacao.setBounds(210, 140, 200, 20);

        jTextField_Telefone.setName("jTextField_Telefone"); // NOI18N
        mainPanel.add(jTextField_Telefone);
        jTextField_Telefone.setBounds(490, 180, 100, 20);

        jLabel3.setName("jLabel3"); // NOI18N
        mainPanel.add(jLabel3);
        jLabel3.setBounds(0, 0, 0, 0);

        jLabel4.setName("jLabel4"); // NOI18N
        mainPanel.add(jLabel4);
        jLabel4.setBounds(0, 0, 0, 0);

        jLabel5.setName("jLabel5"); // NOI18N
        mainPanel.add(jLabel5);
        jLabel5.setBounds(0, 0, 0, 0);

        jLabel6.setName("jLabel6"); // NOI18N
        mainPanel.add(jLabel6);
        jLabel6.setBounds(0, 0, 0, 0);

        jTextField_Tombo.setName("jTextField_Tombo"); // NOI18N
        mainPanel.add(jTextField_Tombo);
        jTextField_Tombo.setBounds(210, 230, 200, 20);

        jTextField_Marca.setName("jTextField_Marca"); // NOI18N
        mainPanel.add(jTextField_Marca);
        jTextField_Marca.setBounds(210, 200, 200, 20);

        jTextField_Contato.setName("jTextField_Contato"); // NOI18N
        mainPanel.add(jTextField_Contato);
        jTextField_Contato.setBounds(210, 170, 200, 20);

        jTextField_NomeUnidade.setText(resourceMap.getString("jTextField_NomeUnidade.text")); // NOI18N
        jTextField_NomeUnidade.setName("jTextField_NomeUnidade"); // NOI18N
        mainPanel.add(jTextField_NomeUnidade);
        jTextField_NomeUnidade.setBounds(70, 70, 200, 20);

        jTextField_Andar.setText(resourceMap.getString("jTextField_Andar.text")); // NOI18N
        jTextField_Andar.setName("jTextField_Andar"); // NOI18N
        mainPanel.add(jTextField_Andar);
        jTextField_Andar.setBounds(310, 70, 80, 20);

        jLabel_Localizacao.setText(resourceMap.getString("jLabel_Localizacao.text")); // NOI18N
        jLabel_Localizacao.setName("jLabel_Localizacao"); // NOI18N
        mainPanel.add(jLabel_Localizacao);
        jLabel_Localizacao.setBounds(70, 140, 58, 14);

        jLabel_Contato.setText(resourceMap.getString("jLabel_Contato.text")); // NOI18N
        jLabel_Contato.setName("jLabel_Contato"); // NOI18N
        mainPanel.add(jLabel_Contato);
        jLabel_Contato.setBounds(70, 170, 43, 14);

        jLabel_Marca.setText(resourceMap.getString("jLabel_Marca / Modelo.text")); // NOI18N
        jLabel_Marca.setName("jLabel_Marca / Modelo"); // NOI18N
        mainPanel.add(jLabel_Marca);
        jLabel_Marca.setBounds(70, 200, 77, 14);

        jLabel_Tombo.setText(resourceMap.getString("jLabel_Tombo:.text")); // NOI18N
        jLabel_Tombo.setName("jLabel_Tombo:"); // NOI18N
        mainPanel.add(jLabel_Tombo);
        jLabel_Tombo.setBounds(70, 230, 36, 14);

        jLabel_NumSerial.setText(resourceMap.getString("jLabel_NumSerial.text")); // NOI18N
        jLabel_NumSerial.setName("jLabel_NumSerial"); // NOI18N
        mainPanel.add(jLabel_NumSerial);
        jLabel_NumSerial.setBounds(70, 260, 70, 14);

        jLabel_QtdPortas.setText(resourceMap.getString("jLabel_QtdPortas.text")); // NOI18N
        jLabel_QtdPortas.setName("jLabel_QtdPortas"); // NOI18N
        mainPanel.add(jLabel_QtdPortas);
        jLabel_QtdPortas.setBounds(70, 290, 109, 14);

        jTextField_PortaAtiva.setName("jTextField_PortasAtivas"); // NOI18N
        mainPanel.add(jTextField_PortaAtiva);
        jTextField_PortaAtiva.setBounds(360, 290, 50, 20);

        jTextField_PortaInativa.setName("jTextField_PortasInativas"); // NOI18N
        mainPanel.add(jTextField_PortaInativa);
        jTextField_PortaInativa.setBounds(250, 290, 50, 20);

        jLabel_PortaAtiva.setText(resourceMap.getString("jLabel_PortasAtivas.text")); // NOI18N
        jLabel_PortaAtiva.setName("jLabel_PortasAtivas"); // NOI18N
        mainPanel.add(jLabel_PortaAtiva);
        jLabel_PortaAtiva.setBounds(210, 290, 34, 20);

        jLabel_PortaInativa.setText(resourceMap.getString("jLabel_PortasInativas.text")); // NOI18N
        jLabel_PortaInativa.setName("jLabel_PortasInativas"); // NOI18N
        mainPanel.add(jLabel_PortaInativa);
        jLabel_PortaInativa.setBounds(310, 290, 43, 14);

        jLabel_Telefone.setText(resourceMap.getString("jLabel_Telefone.text")); // NOI18N
        jLabel_Telefone.setName("jLabel_Telefone"); // NOI18N
        mainPanel.add(jLabel_Telefone);
        jLabel_Telefone.setBounds(420, 180, 46, 20);

        jTextField_NumSerial.setText(resourceMap.getString("jTextField_NumSerial.text")); // NOI18N
        jTextField_NumSerial.setName("jTextField_NumSerial"); // NOI18N
        mainPanel.add(jTextField_NumSerial);
        jTextField_NumSerial.setBounds(210, 260, 200, 20);

        jLabel_Propiedade.setText(resourceMap.getString("jLabel_Propiedade.text")); // NOI18N
        jLabel_Propiedade.setName("jLabel_Propiedade"); // NOI18N
        mainPanel.add(jLabel_Propiedade);
        jLabel_Propiedade.setBounds(420, 210, 70, 14);

        buttonGroup_Propriedade.add(jRadioButton_Ufba);
        jRadioButton_Ufba.setText(resourceMap.getString("jRadioButton_Ufba.text")); // NOI18N
        jRadioButton_Ufba.setName("jRadioButton_Ufba"); // NOI18N
        jRadioButton_Ufba.setRequestFocusEnabled(false);
        mainPanel.add(jRadioButton_Ufba);
        jRadioButton_Ufba.setBounds(490, 210, 51, 23);

        buttonGroup_Propriedade.add(jRadioButton_Projeto);
        jRadioButton_Projeto.setText(resourceMap.getString("jRadioButton_Projeto.text")); // NOI18N
        jRadioButton_Projeto.setName("jRadioButton_Projeto"); // NOI18N
        mainPanel.add(jRadioButton_Projeto);
        jRadioButton_Projeto.setBounds(540, 210, 61, 23);

        buttonGroup_Propriedade.add(jRadioButton_Particular);
        jRadioButton_Particular.setText(resourceMap.getString("jRadioButton_Particular.text")); // NOI18N
        jRadioButton_Particular.setName("jRadioButton_Particular"); // NOI18N
        mainPanel.add(jRadioButton_Particular);
        jRadioButton_Particular.setBounds(600, 210, 71, 23);

        jLabel_EqpAntecessor.setText(resourceMap.getString("jLabel_EqpAntecessor.text")); // NOI18N
        jLabel_EqpAntecessor.setName("jLabel_EqpAntecessor"); // NOI18N
        mainPanel.add(jLabel_EqpAntecessor);
        jLabel_EqpAntecessor.setBounds(70, 320, 124, 14);

        jTextField_EqpAntecessor.setText(resourceMap.getString("jTextField_EqpAntecessor.text")); // NOI18N
        jTextField_EqpAntecessor.setName("jTextField_EqpAntecessor"); // NOI18N
        mainPanel.add(jTextField_EqpAntecessor);
        jTextField_EqpAntecessor.setBounds(210, 320, 200, 20);

        jLabel_PortaUpLink.setText(resourceMap.getString("jLabel_PortaUpLink.text")); // NOI18N
        jLabel_PortaUpLink.setName("jLabel_PortaUpLink"); // NOI18N
        mainPanel.add(jLabel_PortaUpLink);
        jLabel_PortaUpLink.setBounds(420, 300, 70, 14);

        jTextField_PortaUpLink.setText(resourceMap.getString("jTextField_PortaUpLink.text")); // NOI18N
        jTextField_PortaUpLink.setName("jTextField_PortaUpLink"); // NOI18N
        mainPanel.add(jTextField_PortaUpLink);
        jTextField_PortaUpLink.setBounds(490, 300, 100, 20);

        jLabel_CondicoesFisicas.setText(resourceMap.getString("jLabel_CondicoesFisicas.text")); // NOI18N
        jLabel_CondicoesFisicas.setName("jLabel_CondicoesFisicas"); // NOI18N
        mainPanel.add(jLabel_CondicoesFisicas);
        jLabel_CondicoesFisicas.setBounds(70, 350, 130, 14);

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        jTextArea1.setName("jTextArea1"); // NOI18N
        jScrollPane1.setViewportView(jTextArea1);

        mainPanel.add(jScrollPane1);
        jScrollPane1.setBounds(210, 350, 200, 96);

        jProgressBar1.setName("jProgressBar1"); // NOI18N
        mainPanel.add(jProgressBar1);
        jProgressBar1.setBounds(600, 430, 146, 19);

        jButton_Salvar.setText(resourceMap.getString("jButton_Salvar.text")); // NOI18N
        jButton_Salvar.setName("jButton_Salvar"); // NOI18N
        mainPanel.add(jButton_Salvar);
        jButton_Salvar.setBounds(670, 20, 73, 23);

        menuBar.setName("menuBar"); // NOI18N

        fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N
        fileMenu.setName("fileMenu"); // NOI18N

        javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(lrcpd.LRCPDApp.class).getContext().getActionMap(LRCPDView.class, this);
        exitMenuItem.setAction(actionMap.get("quit")); // NOI18N
        exitMenuItem.setText(resourceMap.getString("exitMenuItem.text")); // NOI18N
        exitMenuItem.setName("exitMenuItem"); // NOI18N
        fileMenu.add(exitMenuItem);

        menuBar.add(fileMenu);

        helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N
        helpMenu.setName("helpMenu"); // NOI18N

        aboutMenuItem.setAction(actionMap.get("showAboutBox")); // NOI18N
        aboutMenuItem.setText(resourceMap.getString("aboutMenuItem.text")); // NOI18N
        aboutMenuItem.setName("aboutMenuItem"); // NOI18N
        helpMenu.add(aboutMenuItem);

        menuBar.add(helpMenu);

        statusPanel.setName("statusPanel"); // NOI18N

        statusPanelSeparator.setName("statusPanelSeparator"); // NOI18N

        statusMessageLabel.setName("statusMessageLabel"); // NOI18N

        statusAnimationLabel.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        statusAnimationLabel.setName("statusAnimationLabel"); // NOI18N

        javax.swing.GroupLayout statusPanelLayout = new javax.swing.GroupLayout(statusPanel);
        statusPanel.setLayout(statusPanelLayout);
        statusPanelLayout.setHorizontalGroup(
            statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(statusPanelSeparator, javax.swing.GroupLayout.DEFAULT_SIZE, 760, Short.MAX_VALUE)
            .addGroup(statusPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(statusMessageLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 740, Short.MAX_VALUE)
                .addComponent(statusAnimationLabel)
                .addContainerGap())
        );
        statusPanelLayout.setVerticalGroup(
            statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(statusPanelLayout.createSequentialGroup()
                .addComponent(statusPanelSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(statusMessageLabel)
                    .addComponent(statusAnimationLabel))
                .addGap(3, 3, 3))
        );

        setComponent(mainPanel);
        setMenuBar(menuBar);
        setStatusBar(statusPanel);
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup buttonGroup_Propriedade;
    private javax.swing.ButtonGroup buttonGroup_tipoEqp;
    private javax.swing.JButton jButton_Salvar;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel_Andar;
    private javax.swing.JLabel jLabel_CondicoesFisicas;
    private javax.swing.JLabel jLabel_Contato;
    private javax.swing.JLabel jLabel_EqpAntecessor;
    private javax.swing.JLabel jLabel_Localizacao;
    private javax.swing.JLabel jLabel_Marca;
    private javax.swing.JLabel jLabel_NomeUnidade;
    private javax.swing.JLabel jLabel_NumSerial;
    private javax.swing.JLabel jLabel_PortaAtiva;
    private javax.swing.JLabel jLabel_PortaInativa;
    private javax.swing.JLabel jLabel_PortaUpLink;
    private javax.swing.JLabel jLabel_Propiedade;
    private javax.swing.JLabel jLabel_QtdPortas;
    private javax.swing.JLabel jLabel_Telefone;
    private javax.swing.JLabel jLabel_TipoEqp;
    private javax.swing.JLabel jLabel_Tombo;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JRadioButton jRadioButton_AccessPoint;
    private javax.swing.JRadioButton jRadioButton_Hub;
    private javax.swing.JRadioButton jRadioButton_Particular;
    private javax.swing.JRadioButton jRadioButton_Projeto;
    private javax.swing.JRadioButton jRadioButton_Switch;
    private javax.swing.JRadioButton jRadioButton_Ufba;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea jTextArea1;
    private javax.swing.JTextField jTextField_Andar;
    private javax.swing.JTextField jTextField_Contato;
    private javax.swing.JTextField jTextField_EqpAntecessor;
    private javax.swing.JTextField jTextField_Localizacao;
    private javax.swing.JTextField jTextField_Marca;
    private javax.swing.JTextField jTextField_NomeUnidade;
    private javax.swing.JTextField jTextField_NumSerial;
    private javax.swing.JTextField jTextField_PortaAtiva;
    private javax.swing.JTextField jTextField_PortaInativa;
    private javax.swing.JTextField jTextField_PortaUpLink;
    private javax.swing.JTextField jTextField_Telefone;
    private javax.swing.JTextField jTextField_Tombo;
    private javax.swing.JPanel mainPanel;
    private javax.swing.JMenuBar menuBar;
    private javax.swing.JLabel statusAnimationLabel;
    private javax.swing.JLabel statusMessageLabel;
    private javax.swing.JPanel statusPanel;
    // End of variables declaration//GEN-END:variables

    private final Timer messageTimer;
    private final Timer busyIconTimer;
    private final Icon idleIcon;
    private final Icon[] busyIcons = new Icon[15];
    private int busyIconIndex = 0;

    private JDialog aboutBox;
}
